solves #50