debugged and working
added task status