added BoxFrame class