Some basic typo checking added, not good enough