revision gapi.rendaer function