removed unneded memset
added push, pop, deleteall