fixes and added ability to add stacks !