done with the assignment - after some fiddling.