Changed from While loop to single Line code.