commenting out old code and changing a few items on the math.floor