added clip/range functions and changed mixins