Add use strict
Addd some transitions