prepare for hub