Fix method length in Main