basic implementation of flavors