store GAL functions in extra file