normalization and storage code before clustering