updated control part of extension