taking out old methods from tasks controller