Removing uneeded function