Removed uneeded function