Edited the methods to accurately retrieve Task name