I'll work on this tomorrow. I'll update the code after I'll be done.