cyrus fixes, added delineatetask