check exported functions as well