Code changes after pre delay

Code changes after removing the readlines and pre delay implementation