updated checking