updated pattern undocking