define cgi interface