Added if statement in group3

Added if statement in group3 but its broken