add license
compat with py2.7