typos and logic errors