Removing the previous data code and changing duration on records into a float.