edit some logical part