added use strict where it would help