modified get solution reutrn code language