added question functionality