function in push and close #63