changed name of function to just complete