Question [Q] about dual sim in cm 11 galaxy grand duos

i just wanted to know how can i make that cm 11 have dual sim functionality. i know that aosp roms doesn't have dual sim function, but it can be possible to create that function in any way??? i would like to know some android programming, and if cm doesn't make that function, with some time and practice i would like to make it. thanks!