some irrelavant behaviors have been adjusted