added inits and dirs