improved pep 257 compliance