Honestly have no idea how to automate this :(