some rework; start trying to detect fptrs