final version for hwp3