starting to utilize a small utility fucntion