Truncating function done away with. Code has been verified as tested and working. Good run.