need to figure out what function to add and how to call