added compile data functions
merged