Solution to the self challenge