implementation of mopper tool