delete typus code
add active support
delete unused code