adding/porting stack objects