Fixed bugs, changed slots to bins