added image code for working with question groups