define some commands to grep code