Added init code