bgrins' .bind trick