proper Main added