basic initialization, updated example