addign files, creating clock code