added some sane defaults for some of the attributes