Replace dictionary with brain and make things more readable all around