add entry point (fix #15)