connect push function