writing out entry points