added some question functionality