separate function +generic function to send to all app will help in this case too