solves #7