add class safemazeinterface