The following code is for the Simulator Graphics Generator