adding Stack API