adding type comments