fixed wherever typo
added variable construction