Newb question on writing a function with dependencies - Effect Community