get() and set() methods added for a more proper way of passing variables