Is it okay that the "data" method parameter is immediately overwritten?