trying out sample APIs