resolves #6