Inverness CT picked up their second home win of the season after narrowly beating Dundee 2-1 at Pittodrie.
Juanjo and Graham Bayne were influential in establishing a two-goal lead for the Highlanders and the defence held out to record a vital win.
Despite Caley having the bulk of the early possession it was Dundee who came closest. An accurate Garry Brady cross found Neil Barrett on the edge of the area but the ex-Portsmouth midfielder fired wide.
Minutes later at the other end Juanjo came close with a 20-yard volley that fell wide to the left of Derek Soutar's goal, but the Spaniard struck the ball sweetly sending an early warning to the visitors.
Glen Larsen was gifted a great opportunity soon after thanks to a sublime John Sutton flick, but the Norwegian fired low and straight into the arms of Mark Brown.
Five minutes later Barry Wilson nearly opened the scoring for Caley. Good work from Juanjo set up to the midfielder whose effort went agonisingly wide.
Juanjo continued to caused problems firstly with a cross that lead to a Booby Mann goalline clearance and then with a glancing header that went wide.
The deadlock as broken in the 40th minute with Juanjo the architect. The ex-Hearts winger's through ball found Bayne and the Caley striker coolly slotted it past the helpless Soutar to make it 1-0.
Right from the restart Dundee went on the offensive and nearly levelled after a goalmouth scramble.
Brent Sancho's header was deflected off the line just five minutes into the second half denying the defender a certain goal.
In fact it was Caley who doubled their lead when a 58th minute deflection beat Soutar. Juanjo's strike appeared to be going to the right of the keeper, but it hit Bayne and went into the left corner to make it 2-0.
Dundee were back in it with just over 20 minutes remaining thanks to some good work from Brady on the left that allowed Steve Lovell to net, but Caley held on after that.