sequentical solution done.