BSD license
small tweaks