adding transition reset