moved algorithms and updated mixin sample