integre function compile