added MIT license fixes #5, also fixes #6