added config and init