cleaned up Endpoint type; tweaked logger output