beginning of advanced graphics