adding global greenlight api