more readable code for check info.