implemented hooks
implemented verification