pulled API into interface