add bins and code