add some quality code gems
extract method
add cane config