boss logic