added print calls