#9 implemented 2 func to create Task