pear should be a class maybe...???