initial files from xcode and get time function