finally got push and output check working