types and new code