moved task manager
move task manager to inject method