Code formatted using the inbuilt eclipse formatter