Removed imperative code
A kind awful but it is something version of nominee finding