format code
licence small fix
Make field final
throwing runtime exceptions when error.