added banning and picking code