testing new check function 2