modification of the phonecall constructor