implementing gilt api