added print statments