Finished coding HP section