Fixed missing apostrophe in define function