made tasks more elegant