simplify extension definition