got stack plots working