changed the architecture