passing flavor to definitions