target solution decomposed code