adding proper logging