-- Refactor de intents.cpp