Removed unncessary function