task #8: declare natives callbacks