Removed unneded function