really bad attemt of the Stack