Removed unused method and perltidied
perltidied