second commit
adding the method close()