Rewrote define command