initial version of harp_generic