improving weight logging