added customizable hooks