Tweaking the stack functionality..