changed the attributes to boolean, required and renamed