adding controller helper structure