adding .close() function and upping version