code implementation & time keeping