Changed user select mixins to a function