adapt for new irls gamlr