Added init hook