apply gem language list and use in model