added missing copyrights, added missing comments