new check data functions
check data in other file