it sends everything to client (FINALLY)