code for ugr research