Check how you typed the code in. It is rather easy to misstype code.