Handle simple and basic variable cases