added print_status() method