added basic idea of hp