guard check and testing UI