minor formatting
removing redundant code