fixend and work on stack
working push(mostly) and pop