Added ability to add new record for each task