profile and flex shenanigans