I was not sure about the decay factor so I commented out the section
that could add the decay factor.