basic implementation of ST-HP relation.