Removed unnessary function