everything working and logging correctly