Adding stack lib