adding stack