add normalize and index