format setter and getter