remove unused functions and templating functionality