detecting alive keeper and master keeper