added print() for figure