added function to capitalize/lowercase via given letter or position