added conf and init