Loading HQs from database