fix license header
add comment to hacked style
add comment and minor fix