switch to Pagoda-Chef Pattern