modified my solution to comma solo challenge