succes with sending function from background