adding type loader