Could you edit your post and wrap the code into three backticks ```? This would make it easier to spot the error. Usually the indentation level is wrong or you might have a typo in the forward definition.