little activity refacto