added compiled functions for 7