Changed mode from 1 to 0