types into separate ns