use behaviour for generating menu