refactedsolution