add ask funtion