Architecture of gem - Modifed