fixed int out of range and made comments work