decreased size of code so 80 characters fit