working database insert from recieve_kw