#36 using transition hook