added mining transformation