added more stack calls