refactored: pear coding standard