need to automate this next time