base files from KimYoungSoo (http://github.com/KimYoungSoo)