up to devise 3.1.1