Working build of brute and elegant