Improving Code And Encapsulating