updated task4 and task 1 so they are functional, before looking at notes...

... and consolidating