resolves #325