scaling and normalising