boss logic working