almost finished with simulator