first assign type, then value to information