changed minimal query size to 3 characters