prefix is now a function that returns a string