Simplified the intel code.