completion hooks