solved the first question....nice question bloody got me thinking.