class architecture is done