better caps to string handling