started to implement stacks