Add listtasks fn
Add head