put setup into proper block