simulator works, next step is to add plotting