moved 'return' to the bottom of define()