trying out using a separate types directory