okay so it cant be truly dynamic but this will be close enough