created tasks handler and exception