removing unneeded method