modified exported functions