init for workspaces