Added a loop in order to further change the code for new push.