Can't program code working at the first atempt D: