added console print statement