removing unecessary method