call the String variant here instead of duplicating the code