close added
removed need for wrapper