Added  function and  mixin