Write a more compact version of the challenge