adding initial config and dimension functions