changed variables to be constant and edited line numbers to be right aligned