Removing unneeded function