Using set() instead of write() to avoid using alias