checking if main