change the code to 1 instead of 0