initial hooks