modified to work with error property
added UNLICENSE