removed judge lock and added more redicts