maybe make this a class variable so it only needs to be dynamically allocated once.