Added missing constant and removed logging
Updated example