Started writing simulator stuff