draft functions of gold API