It's very old procedural way though I tried this way. But the arrangement output is not wright