Added completed function for behaviors