use name hooks instead of onCreate