normalize

added a normalize function to the import