added rest of Ask implementation