improved samples
refactor names for the flex elements extension methods