transition cannot be pointer
right order for creating transition