basically finished built up the datainfo for register