removed unnecessary code, added secuential steps for 12 and 13