added some logging and general handlers