expose main function to index