add less efficient solution