first attempt at stack object