make initializer function