reverted back to original but with more print stm