add some copyright info
add simple check just for number of arguments