simple codes, and update cc license for two posts