my slow solution