step 1 and 2 are valids or not