functions, elements first tests