updated askChoice functions for new API update