use_strict

Forcing code to use strict. Also, removed old code and finished a
function.