working with setters and getters for legs