small changes to stack class