new datasheet logic