Functions Personal

moved parseInt to be more logical; don't repeat yourself…