adding transition effects