resolves #334