realize all the function modules