changes made in map factory and engine