removed unneeded code for the solution at this stage