in class assignment of phone database