how to execute multiple function in same time