better startup, now also without main function