3 ways to solve