Sounds like a job for an AI layer