modified getBin calls