partial solution to solo challenge