some setters and getters and errors