prefix might be empty