updated comments and license