Removed extra function call