Simplification code Activity