adding table, setters and getters