Checking entry point function.