add code for setters and getters
add print method in implmentation