changed 0 to 1