refactored StartupData parsing