useful file 2
first implementation of setgreentask