convert to mixin API