test code: playing with substitutions