trying to comply with PEAR standards