Bug fix - "define" changed to "defined"