Added verbose handler for debugging