corrected bug in phone() method