prettier solution