50% working code.