better use of vectorizations
typo