preparing for scannable scalars
simple functions