Typos above (line 4 and 6). Should be `unshift`, not `unshif`.