diagram + bugs + button