write three columns for hmp