Removed data[0] being overwritten