submit completed functions