completed accounts function