added attribute appname