working output, next step to make one process function