created handler for Tasks and did basic testing