changed published to boolean