added print api