working on input and outputs for functions and tasks