Maybe this extracts the right number of chars