checkGoingFirst implemented