added in specific event to send json, closest yet, threading issue or something