added ask code