complete simulation