creating interface for not-completed and completed tasks
implementing total tasks