Determine the entry point