implemented getters/setters for models