Fixed some syntax errors... copying code should be trained ;-)