Simplified and cleaned up syntax.