defined error, now all work