postPush function modified.