Hall set up for a function