Mallorca made it very difficult but it was an important win for us, Barca coach Frank Rijkaard told reporters.