finish functions/counter test