Issue #16: make .set(data) functions