added print to main for testing