added HP
refactoring online hp
text lag diag