refactored SEC_DATA out of helper functions