drawing strings going to a separate function