open source code by Zahra Khedri