Simplified a bit.