typos and validation