added options to bind()