make coordinates and box private, create getters for them (in Frame)