use enum for types
add autorecurse for ctags