improved hash commenting