Added profiling and fixed send bug