activities validation

looks correct, but not working on mine machine