betterbinz is now a function