starting to add flags in corestyle to prevent computing too much some styles