Added accesssors to the variables