Choose the correct form: Present Perfect Continuous or Past Perfect Continuous.
When I met Jack and Tom, their clothes and hands were dirty. They ... in the garden.