added .close()