change require to define