added the 'define' function