Removed extra function