bin and main set up