Minor change.
Upate to fulfill strict mode. Also added lastsecond for possilbe future use.