removed normalize and added formatting