Added print question function