macro-ize that frame marking thing and add it to another place it needs to be