resolves  #5
closes  #6