adds before boxes within context blocks