Whoops: This code was excessively complex for a reason