get push function to work