simple flatten
every and some functions