via sarah's request, made width variable for text