mock complete method