added simulate branch