UNcommented END function