set sentence structure handling to be oop and included proper print functions