changed data to end with 0