add transition, fixes #50