Implement con root method
Fix formatting inconsistencies