add function to read previous pushs