add HOME and END