implement h analysis