replaced almost all strings and limited code width to 80 characters