Removed unncesseary function