I seem to have a syntax error on the last line, however I believe it will have occurred on a previous line but I am just unable to spot it. Could anyone help with this?