added return true to computeH