setup code now working