typo and moveing some bits a bit