getters and setters adjusted for the new databse