modified solution-18 for looks