adding steps 1 ..3
fixed step3