add some setters and a createGuid function