Removed unused extra function