commenting out broken toggle/wrapper implementation
correctly-scoped wrapElement method