created enclose utility