bark function started