made send method take const char* for safety