changed main funcion name