head trivial problem.. now failing to run properly :(